* xrdb.c: Integer and memory overflow issues.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 29 Jul 2011 01:59:57 +0000 (18:59 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 29 Jul 2011 01:59:57 +0000 (18:59 -0700)
commit13c5bf26eafba00a30a21667b9063c21b08831c8
treed5855834f7e69888bc9a714072a39268115f8af0
parent637887ceaf4f5b6e06373bdacf63c43071c8fa7b
* xrdb.c: Integer and memory overflow issues.

(magic_file_p): Plug memory leak on size overflow.
(get_environ_db): Don't assume path length fits in int,
as sprintf is limited to int lengths.
src/ChangeLog
src/xrdb.c